'''
#Coding: utf-8
#Project: online-exam
#Author: rtf
#Time: 2022-07-27 18:39:10
#FileName: student.py
#Softwar: PyCharm
'''


from trump.query import get_item, get_items, get_table_header, modify_item
from trump.utils import ok, fail
from trump.decorators import table_headers
from utils.params_validate_decorator import validate_params
from funcs.user_info import get_uesr_info


@validate_params([["code", str, True], ["name", str, True]])
async def post(app, request):
    pass


@validate_params([["code", str, True], ["name", str, True]])
async def put(app, request, id):
    pass


async def ls(app, request):
    pass


async def get(app, request, id):
    pass


async def delete(app, request, id):
    pass